﻿@model Archives.Models.Users.User

@{
    ViewBag.Title = "Index";
}

<div class="top-bar">
   
    <h1>Login</h1>
   
</div>
<p>&nbsp;</p>
@using (Html.BeginForm())
{
    <center>
        @Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")
    </center>
<div class="table">
    <table class="listing form margin_l100" cellpadding="5" cellspacing="0" width="400px">
        <tr>
            <th class="full" colspan="2">Nhập thông tin đăng nhập</th>
        </tr>
        <tr>
            <td width="100" align="left"><strong>Tên người dùng</strong></td>
            <td  align="left">@Html.TextBoxFor(m => m.Username, new { @autofocus = "autofocus" })</td>
        </tr>
        <tr>
            <td  align="left"><strong>Mật khẩu</strong></td>
            <td  align="left">@Html.PasswordFor(m => m.Password)</td>
        </tr>
        <tr>
            <td >&nbsp;</td>
            <td   align="left"><input type="submit" value ="Login" /></td>
        </tr>
        
    </table>
</div>
}
